//存放数据组件
import { v4 as uuid } from 'uuid';
import * as waitInfo from "@/store/modules/data/waitInfo";
import * as roomInfo from "@/store/modules/data/roomInfo";
import * as reportInfo from "@/store/modules/data/reportInfo";
import * as windowInfo from "@/store/modules/data/windowInfo";
import * as publishInfo from "@/store/modules/data/publishInfo";
import * as boardInfo from "@/store/modules/data/boardInfo";
import * as schedulingInfo from "@/store/modules/data/schedulingInfo";
import { publishGeneralListInfo, publishRoomDoctorInfo } from "@/store/modules/data/publishInfo";
import { waitDrugstoreListInfo } from "@/store/modules/data/waitInfo";
import {reportDeptInfo, reportDoctorInfo2} from "@/store/modules/data/reportInfo";

const state = {
    // 设备绑定的设备
    devTemplateInfo: {},

    // 报到机头部 scene-report-head 组件的控制
    sceneReportHead: true,

    // 报到机的步骤
    reportStep: 0,

    // 头部信息
    headerInfo: {},

    // 温馨提示
    tipsInfo: {},

    //队列列表信息
    waitingQueueListInfo: waitInfo['queueListInfo'],

    // 候诊屏信息
    waitingPatientInfo: waitInfo['waitQueueListInfo'],

    // 候诊屏信息全量
    waitingPatientAllInfo: waitInfo['waitQueueAllListInfo'],

    // 过号信息
    passPatientInfo: waitInfo['passPatientListInfo'],

    // 候诊患者
    waitPatientAllListInfo: waitInfo['waitPatientAllListInfo'],
    // 候诊屏多科室
    waitingDeptsPatientsInfo: waitInfo['waitingDeptsPatientsInfo'],

    // 诊室屏科室全量信息
    roomDeptInfo: roomInfo['roomDeptInfo'],

    // 诊室(窗口)屏全量信息
    roomDoctorInfo: roomInfo['roomDoctorListInfo'],

    //报到机全量信息
    reportPatientInfo: reportInfo['reportPatientInfo'],

    // 报到机复诊选择医生
    reportDoctorInfo: reportInfo['reportDoctorInfo'],

    //一键报到患者号别信息
    reportPatientNumberInfo: reportInfo['reportPatientNumberInfo'],

    // 取号机
    reportPickInfo: reportInfo['reportPickInfo'],

    reportDeptInfo: reportInfo['reportDeptInfo'],

    reportDoctorInfo2: reportInfo['reportDoctorInfo2'],

    // 窗口屏患者信息
    windowDeptInfo: {
        mockData: {
            roomName: "诊室名称-诊室名称",      // 诊室名称
            roomShortName: '诊室简称-诊室简称',  // 诊室简称
            deptName: "妇科-科室名称",         // 科室名称
            deptShortName: '妇科-科室简称', // 科室简称
            roomNo: '诊室号-15',             // 诊室号
            registerObjName: '号别-(急诊科)', // 号别
            colorFlag: 'rgba(255, 167, 44, 1)', // 号别
            registerObjRemark: '老当益壮，宁移白首之心？穷且益坚，不坠青云之志。老当益壮，宁移白首之心？穷且益坚，不坠青云之志。'
        },
        apiData: {}
    },

    // 窗口屏幕患者
    windowPatient: windowInfo['windowPatient'],

    // 窗口屏动态信息
    windowDynamicsInfo: windowInfo['windowDynamics'],

    // 信息看板
    boardPatientInfo: publishInfo['boardListInfo'],

    // 手术信息看板
    operationPatientListInfo: publishInfo['operationPatientListInfo'],

    //药品公示
    drugPriceListInfo: publishInfo['drugPriceListInfo'],

    // 候诊--抽血
    waitingPatientBusiness: publishInfo['drawBloodListInfo'],

    // 信息发布-号源
    publishNumberSourceListInfo: publishInfo['publishNumberSourceListInfo'],

    // 信息发布--检查项目
    publishCheckListInfo: publishInfo['publishCheckListInfo'],

    // 信息发布--药房患者
    publishDrugstorePatientListInfo: publishInfo['publishDrugstorePatientListInfo'],

    // 信息发布--医生诊室
    publishRoomDoctorInfo: publishInfo['publishRoomDoctorInfo'],

    // 信息发布-医生通用数据
    publishGeneralListInfo: schedulingInfo['publishGeneralListInfo'],

    //排班信息--21联屏
    schedulingDoctorInfo: schedulingInfo['publishSchedulingDoctorListInfo'],

    // 排版-溧阳模拟数据
    schedulingDoctorInfo2: schedulingInfo['publishSchedulingDoctorListInfo2'],

    // 医生排班 1920 | 1080
    DoctorSchedulingInfo: schedulingInfo['schedulingDoctorInfo'],
    // 信息发布3096--排版-广告
    schedulingDoctor3096Info: publishInfo['schedulingDoctor3096Info'],


    callPatientInfo: {
        mockData: [
            {
                bookId: null,
                queuingId: 1316,
                deptName: '输血科',
                roomName: '诊室9',
                orderNo: '221',
                patientName: '北辰一',
                patientCardNo: null,
                patientIdNo: 'yz10084015',
                treatType: '0',
                registerObjName: '1-[鼻科普通号别, 急诊普通号别]',
                registerObjSimpleName: '2-[鼻科普通号别, 急诊普通号别]',
                registerObjGroupName: '3-[鼻科普通号别, 急诊普通号别]',
                registerObjGroupSimp: '4-[鼻科普通号别, 急诊普通号别]'
            }
        ],
        apiData: []
    },

};

export default state;
